package com.ylr.base.common.vo;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import java.util.List;

/**
 * Created by IntelliJ IDEA.
 *
 * @author wei
 * date: 2023-02-17 20:24:13
 * className: UpdateStatusVo 批量更新状态参数封装类
 * version: 1.0
 * description:
 */
@Getter
@Setter
@ToString
public class UpdateStatusVo {

    /**
     * 主键列表
     */
    @NotNull(message = "主键列表不能为空")
    @Size(min = 1, message = "主键列表不能为空")
    protected List<Long> idList;

    /**
     * 状态
     */
    @NotNull(message = "新状态不能为空")
    protected Integer status;

}
